package my.diplom.dao;

import my.diplom.entity.Category;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gb
 * Date: 13.07.2009
 * Time: 23:42:16
 * To change this template use File | Settings | File Templates.
 */
public interface ICategoryDAO {
    void create(Category category);
	void update(Category category);
	Category getById(Long categoryId);
	Category getById(Long categoryId, boolean initApplications);
	List<Category> getAll();
	List<Category> getAllActive();
	Category getByName(String categoryName);
	void delete(Category category);
}
